package guoanmaker.operator.business.service;

import guoanmaker.operator.business.model.OperatorHotwords;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @author huZhaoyu 
 * @ClassName: OperatorHotwordsServiceInterface 
 * @Description: OperatorHotwordsServiceInterface
 * @date 2017/6/27
 */
public interface OperatorHotwordsServiceInterface {
    OperatorHotwords saveHotwords(OperatorHotwords operatorHotwords);

    List<OperatorHotwords> getAllHotwords();

    Page<OperatorHotwords> getAllHotwordsByPage(Integer page, Integer size);

    void deleteHotwordById(String id);

    OperatorHotwords getHotwordById(String id);
    
    List<OperatorHotwords> getAllHotwordsByCityCodeTwo(String cityCode);
    OperatorHotwords getAllHotwordsByCityCodeOne(String cityCode);
    Map getAllHotwordsByCityId(String cityCode);
    /**
     * pc端
    * @Title: getAllPcHotwordsByCityCodeTwo 
    * @Description: TODO(这里用一句话描述这个方法的作用) 
    * @param cityCode
    * @return    设定文件 
    * @return List<OperatorHotwords>    返回类型 
    * @throws 
     */
    List<OperatorHotwords> getAllPcHotwordsByCityCodeTwo(String cityCode);
    OperatorHotwords getAllPcHotwordsByCityCodeOne(String cityCode);
    Map getAllHotwordsByCityIdPc(String cityCode);
}
